package cn.wolfcode.rbac.domain;

/*import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;*/
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class Employee {
    ////@ExcelPIgnore
    private Long id;
    ////@ExcelPProperty(value = "姓名",index = 0)
    private String name;
    //@ExcelPIgnore
    private String password;
    ////@ExcelPProperty(value = "邮箱",index = 1)
    private String email;
    ////@ExcelPProperty(value = "年龄",index = 2)
    private Integer age;
    //@ExcelPIgnore
    private boolean admin; // true false null
    //@ExcelPIgnore
    private Department dept;  // 关联部门

    // 角色集合
    //@ExcelPIgnore
    private List<Role> roles = new ArrayList<Role>();
}